<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/4/23
  Time: 19:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--<audio id="voiceAd">
    <source id="voicesSr" type="audio/mpeg">
    <embed id="voiceEd" height="0" width="0">
</audio>--%>
<script>
    var zhText = encodeURI(encodeURI("您有新的订单，请及时处理"));
    var url="http://tts.baidu.com/text2audio?lan=zh&ie=UTF-8&spd=6&text="+zhText;
    var n=new Audio(url);
    n.src=url;
    n.play();
</script>
</body>
</html>
